<#assign module="member"/>

<@override name="header">
<link rel="stylesheet" href="${ctx}/assets/css/form.css">
</@override>
<@override name="body">

	<div class="row margin-top">
		<div class="col-xs-12">
		<div class="panel panel-primary">
		<div class="table-responsive">
			<table class="table table-hover table-striped">
				<thead>
				<tr style="font-size:14px;">
					<th>回访时间</th>
					<th>工单号</th>
					<th>服务人员评价</th>
					<th>服务评价</th>
					<th>收费评价</th>
					<th>其他评价</th>
					<th>回访人</th>
					<th>备注</th>
				</tr>
				</thead>
				<tbody>
					<#if (page.content)?? >
				  	<#list page.content as data>
						<tr>
							<td>${data.created?string("yyyy-MM-dd HH:mm")}</td>
							<td>
								<#if data.orderId??>
								<a href="${ctx}/order/detail/${data.orderId}" class="btn-link" target="_blank">${data.orderNumber}</a>
								</#if>
							</td>
							<td>
								<#if data.driverSatisfy==0>
									不满意
								<#elseif data.driverSatisfy==1>
									满意
								<#elseif data.driverSatisfy==2>
									非常满意
								</#if>
							</td>
							<td>
								<#if data.serviceSatisfy==0>
									不满意
								<#elseif data.serviceSatisfy==1>
									满意
								<#elseif data.serviceSatisfy==2>
									非常满意
								</#if>
							</td>
							<td>
								<#if data.chargeSatisfy==0>
									不满意
								<#elseif data.chargeSatisfy==1>
									满意
								<#elseif data.chargeSatisfy==2>
									非常满意
								</#if>
							</td>
							<td>
								<#if data.otherSatisfy??>
									<#if data.otherSatisfy==0>
										不满意
									<#elseif data.otherSatisfy==1>
										满意
									<#elseif data.otherSatisfy==2>
										非常满意
									</#if>
									(${data.otherSatisfyInput?if_exists})
								<#else>
									-
								</#if>
							</td>
							<td>${data.accountName}</td>
							<td>${data.memo?if_exists}</td>
						</tr>
					</#list>
					</#if>
				</tbody>
			</table>
			<#if page.totalElements??>
			<ul class="pagination pull-right pagination-sm">
				<li><a>共 ${page.totalElements} 条数据</a></li>
				<@pg.pager items=page.totalElements?number maxPageItems=20 export="currentPageNumber=pageNumber" url="${ctx}/phonevisit/memberRecord/${memberId}">
					<@pg.index>
						<@pg.first>
							<li><a href="${pageUrl}">&laquo;</a></li>
						</@pg.first>
						<@pg.prev>
							<li><a href="${pageUrl}">&lsaquo;</a></li>
						</@pg.prev>
						<@pg.pages>
							<#if  currentPageNumber == pageNumber >
								<li class="active"><a href="#">${pageNumber}</a></li>
							<#else>
								<li><a href="${pageUrl}">${pageNumber}</a></li>
							</#if>
						</@pg.pages>
						<@pg.next>
							<li><a href="${pageUrl}">&rsaquo;</a></li>
						</@pg.next>
						<@pg.last>
							<li><a href="${pageUrl}">&raquo;</a></li>
						</@pg.last>
					</@pg.index>
				</@pg.pager>
			</ul>
			</#if>
		</div>
		</div>
		</div>
	</div>
	

</@override>
<@override name="footer">
<script type="text/javascript">
	
</script>
</@override>
<@extends name="../layout.ftl"/>